﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HBCode.BusinessLogic.Validations
{
    [AttributeUsage(AttributeTargets.Property)]
    public class ValidateAttribute : Attribute
    {
        public ValidateType Type { get; set; }
        public string RegexExpression { get; set; }
        public string ErrorMessage { get; set; }
        public bool IsRequired { get; set; }
    }
}
